package StructuralMode.flyweight;

public abstract class AbstractBox {
    protected String color;

    public abstract String getShape();

    public void setColor(String color) {
        this.color = color;
    }

    public void show(){
        System.out.println(this.color + getShape());
    }
}
